﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="file_SiteMaps_Default" %>
<%@ Import Namespace=" Skybot.Cache" %>
<%@ Import Namespace=" Skybot.Tong.CodeCharSet" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>分页地图</title>
</head>
<body>
    <div>
        <div> 
          <asp:Repeater ID="pages" runat="server" >
            <ItemTemplate>
               <%if(IsCresteHTMLPage){ %>
                <a href="<%#Eval("p") %>.html"><%#Eval("p") %></a>
                <%}else{ %>
                <a href="?p=<%#Eval("p") %>"><%#Eval("p") %></a>
                <%} %>
            </ItemTemplate>
        </asp:Repeater>
        </div>
        <asp:Repeater ID="DataList1" runat="server" >
            <ItemTemplate><%if(IsCresteHTMLPage){ %>
               <a href="<%#  ((TygModel.书名表)GetDataItem()).GetHTMLFilePath() %>" target="_blank">
                                    <%#Eval("书名") %>
                                </a>
                <%}else{ %>
                <a href="/Site/BookIndex.aspx?guid=<%#Eval("GUID") %>" target="_blank">
                                    <%#Eval("书名") %>
                                </a>
                <%} %>
            </ItemTemplate>
        </asp:Repeater>
    </div>

</body>
</html>